﻿namespace ProphetsWay.myMedia.DataAccess.Core.Entities
{
	public class Media
	{
		public virtual long MediaId { get; set; }

		/// <summary>
		/// Max length of 1024 Characters
		/// </summary>
		public virtual string Name { get; set; }

		/// <summary>
		/// Max length of 4096 Characters
		/// </summary>
		public virtual string Uri { get; set; }

		/// <summary>
		/// Max length of 32 Characters
		/// </summary>
		public virtual string Md5 { get; set; }

		/// <summary>
		/// Max length of 5 characters
		/// </summary>
		public virtual FileTypes Extension { get; set; }

		/// <summary>
		/// Max length of 5 characters
		/// </summary>
		public virtual MediaTypes MediaType { get; set; }

		public virtual bool IsProtoMedia { get; set; }

	}
}